{% load nourish %}

<tr class="meal">
  <td rowspan=3 class="first regdate">
    {{ f.form.meal_id }} {{ f.date|date:"N j" }} <br/><em>({{ f.date|date:"D." }})</em>
  </td>
    <td colspan=3>
    {{ f.form.non_field_errors }}
    </td>
    <tr>
    <td class="diners">{{ f.form.members.errors }}
        {{ f.form.members }}</td>
    <td class="features">{{ f.form.features.errors }}
        {{ f.form.features }}</td>
    <td class="notes">{{ f.form.notes.errors }}
        {{ f.form.notes }}</td>
</tr>

<tr> <td colspan=3>
        {{ f.form.invite.errors }}
    {% if f.meal.state == 'C' %}
      <em>Confirmed with <a href="{% nurl f.meal.invite.host_eg %}">{{ f.meal.invite.host_eg.group.name }} </a></em>
    {% else %}
      {% if f.form.fields.invite.choices %}
        {{ f.form.invite.errors }}
        {{ f.form.invite }}
      {% endif %}
    {% endif %}
</td> </tr>

